/**
 * Handles Command Exceptions thrown by Commands. When something unexpected happens 
 * during the execution/undo of a command.
 * @author Duc Nguyen
 *
 */
public class CommandException extends Exception {
    /***/
    private static final long serialVersionUID = 1L;
    /** message description of error */
    private String message;
    
    /**
     * Constructor
     * @param label	a message
     */
    public CommandException(String label) {
        message = label;
    }

    /**
     * @return the message
     */
    public String getMessage() {
        return message;
    }    
	
}
